﻿using Inovout.Gis.Geometry;

namespace Inovout.Gis
{
    public interface IGisRow
    {

        IGisTable Table { get; }

        object this[int index] { get; set; }
        object this[string fieldName] { get; set; }
        T GetValue<T>(string fieldName);
        bool TryGetValue(string filedName, out object value);
        bool TryGetValue<T>(string filedName, out T value);

        object GeometryId { get; }
        IGeometryInfo BuildGeometryInfo();

        void Store();

    }
}
